﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Build.Construction;

namespace Genuilder
{
	public static class MSBuildExtensions
	{
		public static T After<T>(this T element, ProjectElement child) where T : ProjectElement
		{
			element.Parent.RemoveChild(element);
			child.Parent.InsertAfterChild(element, child);
			return element;
		}
	}
}
